<?php
	include_once "phantrang_db.php";
	
	class phantrang_bs
	{
		//--------------Field---------------
		private $Limit = 0;
		public function SetLimit($Limit)                   { $this->Limit = $Limit;                   }
		public function GetLimit()                         { return $this->Limit;                     }
		
		private $SoTrangHienThi = 0;
		public function SetSoTrangHienThi($SoTrangHienThi) { $this->SoTrangHienThi = $SoTrangHienThi; }
		public function GetSoTrangHienThi()                { return $this->SoTrangHienThi;            }
		
		//--------------Method---------------
		
		public function CapNhat()
		{
			$data = new phantrang_db();
			return $data->CapNhat($this->Limit, $this->SoTrangHienThi);
		}
		
		public function LayDanhSach()
		{
			$data = new phantrang_db();
			return $data->LayDanhSach();
		}
	}
?>